package cn.btks.commonserver.valid;

import cn.btks.commonserver.result.MenuSourceEnum;
import cn.btks.commonserver.result.SystemLogEnum;
import cn.btks.commonserver.valid.impl.DoubleValidImpl;

import javax.validation.Constraint;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author lijun
 * @Date 2021/1/4 17:54
 */
@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface SystemLog {

    SystemLogEnum type();

    MenuSourceEnum moduleMessage();
}
